home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shells / tcshsrc.zoo / tcsh / config / config.amdahl < prev    next >
Encoding:
Text File  |  1991-08-06  |  3.0 KB  |  111 lines

  1. /*
  2.  * config.h -- configure various defines for tcsh
  3.  *
  4.  * All source files should #include this FIRST.
  5.  *
  6.  * Edit this to match your system type.
  7.  * From: neulynne@uts.uni-c.dk (Mogens Lynnerup), thanks!
  8.  */
  9.  
  10. /****************** System dependant compilation flags ****************/
  11. /*
  12.  * POSIX    This system supports IEEE Std 1003.1-1988 (POSIX).
  13.  */
  14. #undef POSIX
  15.  
  16. /*
  17.  * POSIXJOBS    This system supports the optional IEEE Std 1003.1-1988 (POSIX)
  18.  *        job control facilities.
  19.  */
  20. #undef POSIXJOBS
  21.  
  22. /*
  23.  * VFORK    This machine has a vfork().  
  24.  *        It used to be that for job control to work, this define
  25.  *        was mandatory. This is not the case any more.
  26.  *        If you think you still need it, but you don't have vfork, 
  27.  *        define this anyway and then do #define vfork fork.  
  28.  *        I do this anyway on a Sun because of yellow pages brain damage,
  29.  *        [should not be needed under 4.1]
  30.  *        and on the iris4d cause    SGI's fork is sufficiently "virtual" 
  31.  *        that vfork isn't necessary.  (Besides, SGI's vfork is weird).
  32.  *        Note that some machines eg. rs6000 have a vfork, but not
  33.  *        with the berkeley semantics, so we cannot use it there either.
  34.  */
  35. #undef VFORK
  36.  
  37. /*
  38.  * BSDJOBS    You have BSD-style job control (both process groups and
  39.  *        a tty that deals correctly
  40.  */
  41. #undef BSDJOBS
  42.  
  43. /*
  44.  * BSDSIGS    You have 4.2-style signals, rather than USG style.
  45.  *        Note: POSIX systems should not define this unless they
  46.  *        have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  47.  */
  48. #undef BSDSIGS
  49.  
  50. /*
  51.  * BSDTIMES    You have BSD-style process time stuff (like rusage)
  52.  *        This may or may not be true.  For example, Apple Unix
  53.  *        (OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  54.  */
  55. #undef BSDTIMES
  56.  
  57. /*
  58.  * BSDNICE    Your system uses setpriority() instead of nice, to
  59.  *        change a processes scheduling priority
  60.  */
  61. #undef BSDNICE
  62.  
  63. /*
  64.  * TERMIO    You have struct termio instead of struct sgttyb.
  65.  *         This is usually the case for SVID systems, where
  66.  *        BSD uses sgttyb. POSIX systems should define this
  67.  *        anyway, even though they use struct termios.
  68.  */
  69. #define TERMIO
  70.  
  71. /*
  72.  * SVID        Your machine is SVID complient (Sys V, HPUX, A/UX)
  73.  *        NOTE: don't do this if you are on a Pyramid -- tcsh is
  74.  *        built in a BSD universe.
  75.  *        Set SVID to 1, 2, or 3, depending the version of System V
  76.  *        you are running. Or set it to 0 if you are not SVID based
  77.  */
  78. #define SVID    3
  79.  
  80. /*
  81.  * YPBUGS    Work around Sun YP bugs that cause expansion of ~username
  82.  *        to send command output to /dev/null
  83.  */
  84. #undef YPBUGS
  85.  
  86. /*
  87.  * SIGVOID    Define this if your signal handlers return void.  On older
  88.  *        systems, signal returns int, but on newer ones, it returns void.
  89.  */
  90. #define SIGVOID 
  91.  
  92. /*
  93.  * HAVEDUP2    Define this if your system supports dup2().
  94.  */
  95. #define HAVEDUP2
  96.  
  97. /*
  98.  * UTHOST    Does the utmp file have a host field?
  99.  */
  100. #undef UTHOST
  101.  
  102. /*
  103.  * DIRENT    Your system has <dirent.h> instead of <sys/dir.h>
  104.  */
  105. #define DIRENT
  106. /****************** local defines *********************/
  107. /****************** configurable hacks ****************/
  108. /* have been moved to config_f.h */
  109. #include "config_f.h"
  110. #undef NLS
  111.